#!/bin/bash
echo ""
echo ""
echo "-----------------------------------------------"
cp data/clinton.pcm data/tmp.pcm
cp data/clinton.adpcm data/tmp.adpcm
echo "Running adpcm checked for $1"
time ./$1.checked.exe < data/tmp.pcm > tmp.foo && \
time ./$1.checked.exe < data/tmp.adpcm > tmp.foo && \
echo "" && \
echo "" && \
echo "Running adpcm unchecked for $1"
cp data/clinton.pcm data/tmp.pcm
cp data/clinton.adpcm data/tmp.adpcm
time ./$1.exe < data/tmp.pcm > tmp.foo
time ./$1.exe < data/tmp.adpcm > tmp.foo

